/<!--.*-->/d
/<!--/,/-->/d
s/.*<param .*name="\([^"]*\)".*ctype="\([^"]*\)".*default="\([^"]*\)".*/PARAM(\2,\1,\3)\\/
tx
d
:x
s/\(PARAM(\(vec\),[^,]*,\)\(.*\))\\/\1"\3")\\/
s/\(PARAM(\(line\),[^,]*,\)\(.*\))\\/\1"\3")\\/
s/\(PARAM(\(string\),[^,]*,\)\(.*\))\\/\1"\3")\\/
